<?php

echo form_open('cities/delete'); 
echo "<table border=1>";
 foreach($result as $row) { 
	echo "<tr>";
	echo "<td><input type='checkbox' name=item[] id='email' value='".$row->id."'></td>";
   	echo "<th><h3>".anchor('cities/edit/'.$row->id,$row->name)."</th>";
   	echo "</tr>";
}
echo "</table>";
echo form_submit('delete','Delete');
echo form_close();
echo "<br />";
echo "<br />";